<include file="Common:__head__"/>
<div class="permissions-tabs">
        <a class="role tabs-bg" href="{:U('system/site')}">商户信息</a>
    </div>
    <div class="permissions-content">
        <div class="permissions-le">
            <div class="message-set">
                <span class="hints">操作提示</span>
                <span class="hints-dec">系统平台全局设置,包括基础设置、购物、短信、邮件、水印和分销等相关模块。</span>
            </div>
            <form method="post" id="handlepost" action="{:U('System/site')}" enctype="multipart/form-data" name="form1">
                <div class="add-admin-ipt">
                    <span><i>*</i>网站名称:</span>
                    <div class="add-admin-opt">
                        <input id="store_name" name="sitename" value="{$configs.sitename}" type="text"/>
                        <p class="notic">网站名称，将显示在前台顶部欢迎信息等位置</p>
                    </div>
                </div>

            <div class="add-admin-ipt">
                <span><i>*</i>网站Logo:</span>
                <div class="add-admin-opt">
                    <div class="input-file-show">
                        <span class="show">
                            <a id="img_a" class="nyroModal" rel="gal" href="{$configs.sitelogo}">
                                <i id="img_i" class="fa fa-picture-o" onmouseover="layer.tips('<img src={$configs.sitelogo}>',this,{tips: [1, '#fff']});"  onmouseout="layer.closeAll();"></i>
                            </a>
                        </span>
                        <span class="type-file-box">
                            <input type="text" id="store_logo" name="sitelogo" value="{$configs.sitelogo}" class="type-file-text">
                            <input type="button" name="button" id="button1" value="选择上传..." class="type-file-button">
                            <input class="type-file-file" onClick="GetUploadify(1,'','logo','img_call_back')" size="30" hidefocus="true" nc_type="change_site_logo" title="点击前方预览图可查看大图，点击按钮选择文件并提交表单后上传生效">
                        </span>
                    </div>
                    <span class="err"></span>
                    <p class="notic">默认网站LOGO,通用头部显示，最佳显示尺寸为148*28像素</p>
                </div>
            </div>


            <div class="add-admin-ipt">
                <span><i>*</i>网站标题:</span>
                <div class="add-admin-opt">
                    <input id="store_title" name="sitetitle" value="{$configs.sitetitle}"  type="text" />
                    <p class="notic">网站标题，将显示在前台顶部欢迎信息等位置</p>
                </div>
            </div>
            <div class="add-admin-ipt">
                <span><i>*</i>网站描述:</span>
                <div class="add-admin-opt">
                <input id="store_desc" name="sitedesc" value="{$configs.sitedesc}"  type="text" />
                <p class="notic">网站描述，将显示在前台顶部欢迎信息等位置</p>
                </div>
            </div>
            <div class="add-admin-ipt">
                <span><i>*</i>所在地址:</span>
                <div class="add-admin-opt">
                <input name="siteaddress" value="{$configs.siteaddress}"  type="text">
                <p class="notic">商家中心右下侧显示，方便商家遇到问题时咨询</p>
                </div>
            </div>
            <div class="add-admin-ipt">
                <span>是否开启短信服务:</span>
                <div class="add-admin-opt">
                <select name="open_code">
                    <option value="1" <if condition="$configs['open_code'] eq 1">selected</if>>开启</option>
                    <option value="0" <if condition="$configs['open_code'] eq '0'">selected</if>>关闭</option>
                </select>
                <p class="notic">订单生成，充值等微信模板消息提示</p>
                </div>
            </div>
            <div class="add-admin-ipt">
                <span>订单生成发送短信:</span>
                <div class="add-admin-opt">
                <select name="order_send_sms">
                    <option value="1" <if condition="$configs['order_send_sms'] eq 1">selected</if>>开启</option>
                    <option value="0" <if condition="$configs['order_send_sms'] eq '0'">selected</if>>关闭</option>
                </select>
                <p class="notic">订单付款时短信提醒，必需是在您已开通短信服务的前提下</p>
                </div>
            </div>
            <!--<div class="add-admin-ipt">-->
                <!--<span><i>*</i>超时确认收货时间:</span>-->
                <!--<div class="add-admin-opt">-->
                <!--<input name="over_day" value="{$configs.over_day}" type="text" data-type="number" class="w30" onkeyup="this.value=this.value.replace(/[^\d.]/g,'')"/>-->
                <!--<p class="notic">从订单发货开始，以（天）为单位</p>-->
                <!--</div>-->
            <!--</div>-->
            <!--<div class="add-admin-ipt">-->
                <!--<span><i>*</i>订单支付超时时间:</span>-->
                <!--<div class="add-admin-opt">-->
                <!--<input name="over_day" value="{$configs.over_day}" type="text" data-type="number" class="w30" onkeyup="this.value=this.value.replace(/[^\d.]/g,'')"/>-->
                <!--<p class="notic">从订单生成开始，以（分钟）为单位</p>-->
                <!--</div>-->
            <!--</div>-->
            <!--<div class="add-admin-top">-->
                <!--<span>注册审核:</span>-->
                <!--<div class="add-admin-opt">-->
                <!--<select name="agent_check">-->
                    <!--<option value="1" <if condition="$configs['agent_check'] eq 1">selected</if>>开启</option>-->
                    <!--<option value="2"<if condition="$configs['agent_check'] eq 2">selected</if>>关闭</option>-->
                <!--</select>-->
                <!--</div>-->
            <!--</div>-->
                <div class="add-admin-ipt">
                    <input type="hidden" name="inc_type" value="{$inc_type}">
                    <span></span>
                    <input type="submit" name="" value="保存" class="sbm"/>
                </div>
            </form>
        </div>
        <div class="permissions-ri">
            <a href="" class="permissions-help">帮助和服务</a>
        </div>
    </div>
<script type="text/javascript">
    function img_call_back(fileurl_tmp)
    {
        $("#store_logo").val(fileurl_tmp);
        $("#img_a").attr('href', fileurl_tmp);
        $("#img_i").attr('onmouseover', "layer.tips('<img src="+fileurl_tmp+">',this,{tips: [1, '#fff']});");
    }
</script>
<include file="common:__foot__"/>

